package com.quanyan.orderpay.request;

import com.quanyan.common.validation.enums.Money;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author songzj
 * @date 16/6/27-12:04
 */
public class ReqRefundPayInfo implements Serializable {
    @NotNull
    private Integer payId;
    @NotNull
    private BigDecimal refundAmount;

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    @Override
    public String toString() {
        return "{" +
                "\"payId\":" + payId +
                ", \"refundAmount\":" + refundAmount +
                '}';
    }
}
